#ifndef GENERALTYPE_HPP_
#  define GENERALTYPE_HPP_

#include <string>
using std::string ; 

class GeneralType {

public:
	virtual string getOptionText()  ;
	virtual string getOptionXML()  ;
	virtual string getDefaultAsString() = 0  ;
	virtual string getValueAsString() = 0  ;
	virtual string getFlag(){ return mFlag; }
	virtual bool isInt(){ return false ; }
	virtual bool isDouble(){ return false ; }
	virtual bool isOption(){ return false ; }
	virtual bool isFlag(){ return false ; }
	virtual bool isChar(){ return false ; }
	virtual string getGroup()  {
		return mGroup ; 
	}

protected:
	string mFlag ; 
	string mShortDescription, mLongDescription ;
	string mGroup  ; 
	int mOrder ; 
	// value 
	// defaultValue 

} ;

#endif /* ifndef GENERALTYPE_H */
// -*- C++ -*-

// (C) 2006 by Nathan Dunn, <ndunn@mac.com>


